//ex10_10_5.cpp
#ifndef STACK_H__
#define STACK_H__

typedef struct customer
{
    char fullname[35];
    double payment;
}customer;

// typedef unsigned long Item;
typedef customer Item;
class Stack
{
    private:
        enum { MAX = 10 };
        Item items[MAX];
        int top;
    public:
        Stack();  
        bool isempty() const;
        bool isfull() const;
        bool push(Item &item);
        bool pop(Item &item);
};
#endif